package io.qar.config.ftpUtil;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @program: qar-cloud
 * @description:
 * @author: yyyyjinying
 * @create: 2023-10-30 11:01
 **/
@Data
public class FileEntity<T> implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    private String id;
    /**
     * 上级ID
     */
    private String pid;
    /**
     * 子节点列表
     */
    private List<T> children = new ArrayList<>();

    private String name;
    private String label;
    private String orderBy;
    private long size;
    private int type;
    private String filePath;
    private String filename;
    private String fileSuffix;
    private String value;
}
